package com.utooo.pojo.domain.quality;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 8D整改单表(aigis_8dzg_2025041017504963)
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_8dzg_2025041017504963")
public class MultiRectificationDO extends BaseDO {

    /**
     * 工作流id
     */
    @TableField("f_flowid")
    private String flowId;

    /**
     * 整改标题
     */
    @TableField("comInputField101")
    private String rectificationTitle;

    /**
     * 整改单号
     */
    @TableField("comInputField102")
    private String rectificationNo;

    /**
     * 整改分类
     */
    @TableField("selectField169")
    private String rectificationCategory;

    /**
     * 公司
     */
    @TableField("selectField170")
    private String company;

    /**
     * 供应商名称
     */
    @TableField("selectField173")
    private String supplierName;

    /**
     * 物料编码
     */
    @TableField("popupTableSelectField171")
    private String materialCode;

    /**
     * 物料名称
     */
    @TableField("comInputField107")
    private String materialName;

    /**
     * 需回复日期
     */
    @TableField("dateField108")
    private Date replyDate;

    /**
     * 状态
     */
    @TableField("comInputField109")
    private String status;

    /**
     * 是否重复问题
     */
    @TableField("selectField175")
    private String isRepeatedIssue;

    /**
     * 紧急度
     */
    @TableField("selectField176")
    private String urgencyLevel;

    /**
     * 发生时间
     */
    @TableField("dateField116")
    private Date occurrenceTime;

    /**
     * 问题描述
     */
    @TableField("textareaField149")
    private String issueDescription;

    /**
     * 采取措施
     */
    @TableField("comInputField118")
    private String measuresTaken;

    /**
     * 其他风险
     */
    @TableField("comInputField119")
    private String otherRisks;

    /**
     * 挑选数量
     */
    @TableField("numInputField120")
    private BigDecimal selectionQuantity;

    /**
     * 缺陷数量
     */
    @TableField("numInputField121")
    private BigDecimal defectQuantity;

    /**
     * 遏制日期
     */
    @TableField("dateField122")
    private Date containmentDate;

    /**
     * 根本原因分析
     */
    @TableField("comInputField123")
    private String rootCauseAnalysis;

    /**
     * 根本原因说明
     */
    @TableField("comInputField124")
    private String rootCauseDescription;

    /**
     * 永久纠正措施
     */
    @TableField("comInputField125")
    private String permanentCorrectiveAction;

    /**
     * 永久纠正措施说明
     */
    @TableField("comInputField126")
    private String permanentCorrectiveActionDescription;

    /**
     * 预防说明
     */
    @TableField("comInputField127")
    private String preventiveDescription;

    /**
     * 相关文件
     */
    @TableField("uploadFzField162")
    private String relatedDocuments;

    /**
     * 责任人
     */
    @TableField("userSelectField163")
    private String responsiblePerson;

    /**
     * 其他风险物资
     */
    @TableField("comInputField130")
    private String otherRiskMaterials;

    /**
     * 关闭申请
     */
    @TableField("comInputField131")
    private String closeRequest;

    /**
     * 关闭日期
     */
    @TableField("dateField132")
    private Date closeDate;

    /**
     * 来源方式
     */
    @TableField("selectField177")
    private String sourceMethod;

    /**
     * 质检单号
     */
    @TableField("popupTableSelectField178")
    private String inspectionNo;
}